package com.chinasofti.hashSet;

import java.util.HashSet;

public class HashDemo01 {
    public static void main(String[] args) {
        HashSet<String> hashSet = new HashSet<>();
        hashSet.add("a");
        hashSet.add("b");
        hashSet.add("c");
//        hashSet.add("a");
        for (String s : hashSet){
            System.out.println(s);
        }
    }
}
